/**
 *Copyright (c) 2024 watereyes
 * safetymanagement is licensed under Mulan PubL v2.
 * You can use this software according to the terms and conditions of the Mulan
 * PubL v2.
 * You may obtain a copy of Mulan PubL v2 at:
 *          http://license.coscl.org.cn/MulanPubL-2.0
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PubL v2 for more details.
 */
package com.koron.accident.domain;

import com.koron.common.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;

@ApiModel(value = "工时管理",description = "工时管理实体类")
public class WorkTime extends BaseEntity {

    @ApiModelProperty(value="水司code",name = "corpCode")
    private String corpCode;

    @ApiModelProperty(value="水司名称",name = "corpName")
    private String corpName;

    @ApiModelProperty(value="单位code",name = "departmentCode")
    private String departmentCode;

    @ApiModelProperty(value="单位名称",name = "departmentName")
    private String departmentName;

    @ApiModelProperty(value="工时年月",name = "years")
    private String years;

    @ApiModelProperty(value="本月总天数",name = "days")
    private Integer days;

    @ApiModelProperty(value="人天工时",name = "dayWorkTimes")
    private BigDecimal dayWorkTimes;

    @ApiModelProperty(value="损耗工时",name = "lossWorkTimes")
    private BigDecimal lossWorkTimes;

    @ApiModelProperty(value="人数",name = "staffNumber")
    private Integer staffNumber;

    @ApiModelProperty(value="工时小计",name = "totalWorkTimes")
    private BigDecimal totalWorkTimes;

    @ApiModelProperty(value="备注",name = "remark")
    private String remark;

    public String getCorpCode() {
        return corpCode;
    }

    public void setCorpCode(String corpCode) {
        this.corpCode = corpCode;
    }

    public String getCorpName() {
        return corpName;
    }

    public void setCorpName(String corpName) {
        this.corpName = corpName;
    }

    public String getDepartmentCode() {
        return departmentCode;
    }

    public void setDepartmentCode(String departmentCode) {
        this.departmentCode = departmentCode;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public String getYears() {
        return years;
    }

    public void setYears(String years) {
        this.years = years;
    }

    public Integer getDays() {
        return days;
    }

    public void setDays(Integer days) {
        this.days = days;
    }

    public BigDecimal getDayWorkTimes() {
        return dayWorkTimes;
    }

    public void setDayWorkTimes(BigDecimal dayWorkTimes) {
        this.dayWorkTimes = dayWorkTimes;
    }

    public BigDecimal getLossWorkTimes() {
        return lossWorkTimes;
    }

    public void setLossWorkTimes(BigDecimal lossWorkTimes) {
        this.lossWorkTimes = lossWorkTimes;
    }

    public Integer getStaffNumber() {
        return staffNumber;
    }

    public void setStaffNumber(Integer staffNumber) {
        this.staffNumber = staffNumber;
    }

    public BigDecimal getTotalWorkTimes() {
        return totalWorkTimes;
    }

    public void setTotalWorkTimes(BigDecimal totalWorkTimes) {
        this.totalWorkTimes = totalWorkTimes;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "WorkTime{" +
                "corpCode='" + corpCode + '\'' +
                ", corpName='" + corpName + '\'' +
                ", departmentCode='" + departmentCode + '\'' +
                ", departmentName='" + departmentName + '\'' +
                ", years='" + years + '\'' +
                ", days=" + days +
                ", dayWorkTimes=" + dayWorkTimes +
                ", lossWorkTimes=" + lossWorkTimes +
                ", staffNumber=" + staffNumber +
                ", totalWorkTimes=" + totalWorkTimes +
                ", remark='" + remark + '\'' +
                '}';
    }
}
